package com.example.vo;

import com.alibaba.fastjson.JSONArray;
import com.huawei.innovation.rdm.lwxminibom.bean.enumerate.AssemblyMode;
import com.huawei.innovation.rdm.lwxminibom.bean.enumerate.PartSource;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class PartQueryResultVO implements Cloneable{
    private String partId;
    private String partName;
    private String partNumber;
    private String versionId;
    private String version;
    private Integer iteration;
    private AssemblyMode partType;
    private PartSource partSource;
    private JSONArray clsAttrs;
    private String businessCode;

    @Override
    public PartQueryResultVO clone(){
        try{
            return (PartQueryResultVO) super.clone();
        }catch(CloneNotSupportedException e){
            throw new AssertionError();
        }
    }
}
